package site.anxuan.seckill.service;

import org.apache.rocketmq.spring.core.RocketMQLocalTransactionState;

public interface OrderService {

    void createLocalTransaction(int userId, int itemId, int amount, Integer promotionId);

    RocketMQLocalTransactionState createOrder(int userId, int itemId, int amount, Integer promotionId, String itemStockLogId);

}
